* calendar/todos.el: Item insertion and done/undo fixes.
authorStephen Berman <stephen.berman@gmx.net>
Tue, 19 Feb 2013 22:29:28 +0000 (23:29 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Tue, 19 Feb 2013 22:29:28 +0000 (23:29 +0100)
commitbda57a431bc9ee583bca19693d11c915b185a888
treeb0cbb0786589e393738c9715a950cc5cbbd8b15f
parentede3db11ca11a0f0412a2d772356f3646e8a7096
* calendar/todos.el: Item insertion and done/undo fixes.
(todos-insert-item): Maybe set the insertion file to
todos-global-current-todos-file.  When inserting into a file that
was not being visited on invoking this command, ensure chosen
category is properly selected.  Make item inserted "here" the
first todo item if the command was invoked with point in done
items section or outside of the current category.
(todos-item-done): When done items are shown, put cursor on first
just done item.
(todos-item-undo): Put cursor on undone item.
lisp/ChangeLog
lisp/calendar/todos.el